<style type="text/css">
<!--
#livehelp { clear:both}
#livehelp ul { margin:0; padding:0; width:100%; height:1%;}
#livehelp ul li { padding-left:3px;display: inline;}
-->
</style>


<?php
//
// +----------------------------------------------------------------------+
// | Live Help 1.2 for Zen Cart                                           |
// +----------------------------------------------------------------------+
// | Add support of MSN by twister@tomeal.com 2008-5-23                   |
// +----------------------------------------------------------------------+
// | Live Help 1.1 for Zen Cart                                           |
// +----------------------------------------------------------------------+
// | Copyright (c) 2006 Bao Bao E-commerce                                |
// |                                                                      |
// | http://www.buybaobao.com                                             |
// |                                                                      |
// | Portions Copyright (c) 2006 Bao Bao E-commerce                       |
// +----------------------------------------------------------------------+
//
  $content = "";

  $content .= '<div class="centeredContent"><ul>';
  $content .= '<div>Welcome to '.STORE_NAME.'! <br/>How may I help you?</div>';

  if (LIVE_HELP_SKYPE == 'Enable') {
	$content .= '<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>';
	$content .= '<li><a href="skype:' . LIVE_HELP_SKYPE_USERNAME . '?' . LIVE_HELP_SKYPE_STYLE . '"><img src="images/live_skype.gif" alt="' . BOX_SKYPE_TITLE  . '" /></a></li>';
  }

  if (LIVE_HELP_YAHOO == 'Enable') {
		$content .= '<li><a href="http://edit.yahoo.com/config/send_webmesg?.target='. LIVE_HELP_YAHOO_USERNAME . '&.src=pg"><img border=0 src="images/live_yahoo.gif" alt="' . BOX_YAHOO_TITLE  . '" /></a></li>';
  }

  if (LIVE_HELP_QQ == 'Enable') {
		$content .= '<li><a href="http://wpa.qq.com/msgrd?v=1&uin=' . LIVE_HELP_QQ_USERNAME . '&site=nbPDA&menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:' . LIVE_HELP_QQ_USERNAME . ':' . LIVE_HELP_QQ_STYLE . '"  border="0" alt="' . BOX_QQ_TITLE  . '" /></a></li>';
  }

  if (LIVE_HELP_WANGWANG == 'Enable') {
		$content .= '<li><script type="text/javascript">document.write(\'<a href="http://amos1.taobao.com/msg.ww?v=2&uid=\'+encodeURIComponent(\'' . LIVE_HELP_WANGWANG_USERNAME . '\')+\'&s=1" target="_blank"><img src="http://amos1.taobao.com/online.ww?v=2&uid=\'+encodeURIComponent(\'' . LIVE_HELP_WANGWANG_USERNAME . '\')+\'&s=1" border="0" alt="' . BOX_WANGWANG_TITLE  . '" /></a>\')</script></li>';
  }

  if (LIVE_HELP_MSN == 'Enable') {
		$content .= '<li><a href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=' . LIVE_HELP_MSN_ID . '&mkt=zh-cn" target="_blank"><img src="images/live_msn.gif"  border="0" alt="' . BOX_MSN_TITLE . '" />'. LIVE_HELP_MSN_USERNAME  .'</a></li>';
  }

  $content .= '</ul></div>';
?>